import { nowSize } from '@/utils/nowSize.js';
// 饼状图颜色列表
export const BAR_COLOR_LIST = [
  "rgb(164, 247, 250)",
  "",
  "rgb(248, 186, 93)",
  "",
  "rgb(243, 121, 136)",
  "",
  "rgb(119, 145, 178)",
  "",
  "rgb(252, 239, 119)",
  "",
  "rgb(104, 133, 217)",
];
// 饼状图透明色列表
export const BAR_COLOR_LIST_OPACITY = [
  "rgb(164, 247, 250,0.8)",
  "",
  "rgb(248, 186, 93,0.8)",
  "",
  "rgb(243, 121, 136,0.8)",
  "",
  "rgb(119, 145, 178,0.8)",
  "",
  "rgb(104, 133, 217,0.8)",
  "",
  "rgb(104, 133, 217,0.8)",
];
// tooltip公共配置
export const TOOLTIP_COMMON = {
  textStyle: {
    fontSize: nowSize(14),
    color: "#fff",
  },
  borderColor: "rgba(0,0,0,0.9)",
  backgroundColor: "rgba(0, 0, 0,.9)",
};

// 高端产品内颜色
export const HIGH_COLOR_LIST = ["#4f81ad", "#4f81ad", "#ffefc2", "#ffefc2", "#ffefc2"];
// 高端产品外颜色
export const HIGH_OUT_COLOR_LIST = ["#172532", "#172532", "#393d3a", "#393d3a", "#393d3a"];

// 产品细分内颜色
export const PRODUCT_INER_COLOR_LIST = ["#637fcf", "#637fcf", "#90e5ef", "#90e5ef", "#7c9cad", "#7c9cad", "#fff189"];
// 产品细分外颜色
export const PRODUCT_OUTER_COLOR_LIST = ["#192b36", "#192b36", "#212e37", "#212e37", "#1f2d37", "#3a3e30"];

// 设备监控状态内颜色
export const DEV_INER_COLOR_LIST = [
  "#6a87d9",
  "#6a87d9",
  "#d2ddfe",
  "#d2ddfe",
  "#fffbe0",
  "#fffbe0",
  "#fff18c",
  "#fff18c",
  "#d9ecf7",
  "#d9ecf7",
  "#dbfafe",
  "#dbfafe",
  "#659ba2",
];
// 设备监控状态外颜色
export const DEV_OUTER_COLOR_LIST = [
  "#4d6194",
  "#4d6194",
  "#929cb1",
  "#929cb1",
  "#b0b0a0",
  "#b0b0a0",
  "#aba46a",
  "#aba46a",
  "#83949d",
  "#83949d",
  "#647985",
  "#647985",
  "#91a8ad",
  "#91a8ad",
  "#669ba2",
  "#669ba2",
];
